/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.zjdt.epserver.db.dao;

import java.util.List;
import java.util.Map;

/**
 *
 * @author dusin
 */
public interface FactoryDao {
    boolean doCreate(Object[] bean);
    boolean doDeleteById(int id);
    boolean doUpdateById(Object[] bean);
        
    Map<String,Object> findById(int id);
    List<Map<String,Object>> findAll();
    List<Map<String,Object>> findAll4Combo();
    //List<Map<String,Object>> findAll(int start,int size);    
}
